//设备id
var equipment_id = $.trim($("#equipment_id").val());
//厂商id
var manufacturer_id = $.trim($("#manufacturer_id").val());
//设备配备库id
var equip_id = $.trim($("#equip_id").val());

//返回上页
var go_back = function(){
	url = base+"/projectCenter/businessdata/equipmentDesign/"+project_id;
    $.get(url, function(result){
 	   $("#mention_data").html("");
	   $("#mention_data").html(result);
    });
}

$("#equipment_data_type li").click(function(){
	var data_type = $(this).attr("data_id");
	var url;
	if("sbjbzl" == data_type){
		url = base+"/projectCenter/businessdata/equipmentBasics/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("sbzp" == data_type){
		url = base+"/projectCenter/businessdata/equipmentPhoto/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("yhxqs" == data_type){
		url = base+"/projectCenter/businessdata/equipmentDemandBook/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("bim_model" == data_type){
		url = base+"/projectCenter/businessdata/equipmentBimModel/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("csxx" == data_type){
		url = base+"/projectCenter/businessdata/equipmentCsxx/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("jsjk" == data_type){
		url = base+"/projectCenter/businessdata/equipmentJsjk/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}else if("tjtjt" == data_type){
		url = base+"/projectCenter/businessdata/equipmentTjtjt/"+manufacturer_id+"/"+equipment_id+"/"+equip_id;
	}
    $.get(url, function(result){
	   $("#mention_data").html("");
	   $("#mention_data").html(result);
    });
});